package com.cindata

import com.cindata.dictionary.*

class Workflow
{
    String name
    Boolean active = false
    // CollateralType collateralType
    String code
    WorkflowType type

    static mapping = {
        autowire true
    }

    static constraints = {
        name maxSize: 64, unique: true, nullable: false
        code maxSize: 64, unique: true, nullable: false
    }
}